package com.example.vo.respvo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class VehiclePyVo {

    @ApiModelProperty("编号")
    private Integer id;

    @ApiModelProperty("申请编号")
    private Integer vehiclePyId;

    @ApiModelProperty("流程编号")
    private String processId;

    @ApiModelProperty("使用时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private LocalDateTime kaishiTime;

    @ApiModelProperty("归还时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private LocalDateTime jieshuTime;


    @ApiModelProperty("申请人员")
    private String empName;

    @ApiModelProperty("部门部门")
    private String deptName;

    @ApiModelProperty("车辆编号")
    private String  vehicleId;

    @ApiModelProperty("车牌号")
    private String licensePlate;

    @ApiModelProperty("车辆名称")
    private String brand;

    @ApiModelProperty("乘坐数量")
    private String type;

    @ApiModelProperty("车辆价值")
    private String worth;

    @ApiModelProperty("当前状态")
    private Integer status;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private LocalDateTime createTime;

}
